﻿using PropertyChanged;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VIA.SiMoJi.Domain.Vision
{
    /// <summary>
    /// 表示一对机器人点和图像点
    /// </summary>
    [AddINotifyPropertyChangedInterface]
    public class RobotImagePoseGroup
    {

        public Pose ImagePose { get; set; }
        public Pose RobotPose { get; set; }
        public RobotImagePoseGroup()
        {

        }

        public RobotImagePoseGroup(Pose robotPose, Pose imagePose)
        {
            RobotPose = robotPose;
            ImagePose = imagePose;
        }

        public override string ToString()
        {
            return $"({RobotPose.X:0.###},{RobotPose.Y:0.###},{RobotPose.Angle:0.###}) ({ImagePose.X:0.###},{ImagePose.Y:0.###},{ImagePose.Angle:0.###})";
        }
    }
}
